package com.ruoyi.exam_order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试报名订单信息对象 tb_exam_order
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public class TbExamOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private Long id;

    /** 考生id */
    @Excel(name = "考生id")
    private Long candidateId;

    /** 缴费状态 */
    @Excel(name = "缴费状态")
    private String paymentStatus;

    /** 缴费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCandidateId(Long candidateId) 
    {
        this.candidateId = candidateId;
    }

    public Long getCandidateId() 
    {
        return candidateId;
    }
    public void setPaymentStatus(String paymentStatus) 
    {
        this.paymentStatus = paymentStatus;
    }

    public String getPaymentStatus() 
    {
        return paymentStatus;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("candidateId", getCandidateId())
            .append("paymentStatus", getPaymentStatus())
            .append("paymentTime", getPaymentTime())
            .toString();
    }
}
